<!DOCTYPE HTML>
<html>
  <head>
	
	<script type="text/javascript" src="scripts/jquery-1.4.js"></script>
	<script type="text/javascript" src="scripts/jqia2.support.js"></script>
    <script type="text/javascript" src="menu.js"></script>
	<script type="text/javascript" src="draggable.js"></script>
	<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
    <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
	
	<script src="configuracion.js"></script>
	<script src="graficos.js"></script>
	<script src="items.js"></script>
	<script src="blocks.js"></script>			
	<script src="colisiones.js"></script>	
	<script src="controles.js"></script>
	<script src="menu_enlaces.js"></script>
	<script src="particulas.js"></script>	
	<script src="barra.js"></script>	
	<script src="bolas.js"></script>
	<script src="game.js"></script>		
	
	<title>Estudio HTML5</title>
	<meta charset="UTF-8">	
	
	<style>
		body {background-color: white;}
		div {text-align: center;}
		canvas{position: relative;top: 10px;}
	</style>
	
  </head>
  
  <body>
		<noscript>
			No tienes habilitado el javascript. Para hacer funcionar esta pagina necesitas tenerlo funcionando. 
		</noscript>

		<div>
			<h1> PASCUALRNOID </h1>
			<canvas id="c">
				No te soporto el navegador a canvas tampoco.
			</canvas>
		</div>
		
		<div> 
			<?php 
				$conexion = mysql_connect("mysql7.000webhost.com", "a8575766_arkanoi", "el_kr4k3n");
				mysql_select_db("a8575766_arkanoi", $conexion);
				
				$queEmp = "SELECT * FROM puntuacion ORDER BY puntos DESC";
				$resEmp = mysql_query($queEmp, $conexion) or die(mysql_error());
				$totEmp = mysql_num_rows($resEmp);
				
				if ($totEmp> 0) {
					while ($rowEmp = mysql_fetch_assoc($resEmp)) {					
						echo "Nick: ".$rowEmp['nick']. " - ";
						echo "Puntos: ".$rowEmp['puntos']."<br><br>";
					}
				}
			?>
		</div>
  </body>
</html>

